package net.hxz.modules.dao;

import java.util.List;

import net.hxz.modules.pojo.News;
import net.wy.myBatisPlugin.page.model.PageRowBounds;

import org.springframework.stereotype.Repository;

@Repository
public interface NewsMapper{
	List<News> list(PageRowBounds page);
	
	int count();
	
	News get(long newsId);

	public int insert(News news);

	public int update(News news);

	public int delete(long newsId);
}
